package cn.maihe.elg.operation.centers.hymake.dto.channel;

import cn.maihe.elg.operation.model.dto.BaseResp;
import com.alibaba.fastjson.JSON;
import lombok.Data;

/**
 * @Description
 * @Author WJH
 * @Date 2022/04/15
 */
@Data
public class ChlBizRespData extends BaseResp {
    /**0成功，其他失败*/
    private String code;

    private String message;


    public ChlBizRespData(){}
    /**
     * 临时
     * @param bizRespStr
     */
    public ChlBizRespData(String bizRespStr) {
        ChlBizRespData bizRespData =   JSON.parseObject(bizRespStr).toJavaObject(ChlBizRespData.class);
        this.setCode(bizRespData.getCode());
        this.setMessage(bizRespData.getMessage());
    }
}
